package io.polly.ldz.reactor.service;

import io.polly.ldz.reactor.entity.User;
import org.springframework.stereotype.Service;

/**
 * @Author ldz112@163.com
 * @Classname UserService
 * @Version V1.0
 * @Description
 * @Date 2024/10/14 10:35
 * Copyright (C) 2023 All Rights Reserved
 */
@Service
public class UserService {

    public User getUserByUserName(String username) {

        User user = new User();
        user.setUserName(username);
        user.setId(1);
        user.setRole(1);
        user.setPassword("pwd");

        return user;
    }
}
